using System;
using SmartBoard.Book.Model;
using SmartBoard.Commands;

namespace SmartBoard.Book.Commands
{
    public abstract class BookActionBase : IAction
    {
        protected BookManager _bookManager;

        protected BookActionBase(BookManager bookManager)
        {
            _bookManager = bookManager;
        }

        public abstract void Execute(object parameter);
        public abstract bool CanExecute(object parameter);
        public event EventHandler CanExecuteChanged = delegate { };
    }
}